<%-- 
    Document   : ConfirmOrder
    Created on : Aug 1, 2013, 11:45:26 PM
    Author     : appi
--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page import="beans.item"%> 
<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body e="background-color: antiquewhite">


        <table align="center" style="background-color:rgba(50%,30%,20%,0.5);box-shadow:0px 0px 80px white;border-radius: 0% 20% 0% 20%;">

            <th colspan="2"><h2 style="color:brown;text-shadow:10px 10px 3px grey">order!</h2></th>
        <form action="ConfirmOrderAction.do" method="post">
            <c:forEach items="${sessionScope.cart}" var="item">
                
                <tr>
                    <td>item id is:
                    </td>
                    <td>
                        <c:out value="${item.id}"></c:out>
                        </td>
                    </tr>
                    <tr>
                        <td>item name is:
                        </td>
                        <td>
                        <c:out value="${item.iname}"></c:out>
                        </td>
                    <tr>
                        <td> total quantity:
                        </td>
                        <td>
                        <c:out value="${item.iqty}"></c:out>
                        </td>
                    </tr>
                    <tr>
                        <td> item price is: 
                        </td>
                        <td>
                        <c:out value="${item.iprice}"></c:out>
                        </td>
                    </tr>
                    <tr>
                        <td>total is: 
                        </td>
                        <td>
                        <c:out value="${(item.iprice)*(item.iqty)}"></c:out>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            item sort desc: 
                        </td>
                        <td>
                        <c:out value="${item.isdesc}"></c:out> 
                        </td>
                    </tr>
                     <tr>
                        <td>ur address is:
                        </td>
                        <td>
                        <c:out value="${sessionScope.shipadd}"></c:out>
                        </td>
                        </tr>
                </c:forEach>
                     <tr>
                    <td>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <input type="submit" value="confirm order" style="font-family: fantasy;color: brown;background-color: antiquewhite">
                </td>
                </tr>
        </form>
    </table>
</body>
</html>
